<div class="fsh-pop">
    <div id="add_form" class="layui-form">
        <input type="hidden" name="userId" value="<%=userId%>">
        <input type="hidden" name="userPassword" value="<%=userPassword%>">

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label"><i>*</i>用户名</label>
            <div class="layui-input-block">
                <input maxlength="20" type="text" name="userName" lay-verify="required"
                autocomplete="off" placeholder="请输入用户名" class="layui-input"
                       value="<%=userName%>">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label"><i>*</i>邮箱</label>
            <div class="layui-input-block">
                <input maxlength="20" type="text" name="userEmail" lay-verify="email"
                       autocomplete="off" placeholder="请输入邮箱" class="layui-input"
                readonly value="<%=userEmail%>">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label"><i>*</i>密码</label>
            <div class="layui-input-block">
                <input maxlength="20" type="password" name="newUserPassword" lay-verify="pass"
                       autocomplete="off" placeholder="请输入密码" class="layui-input"
                value="<%=userPassword%>">
            </div>
        </div>
        <div class="layui-form-item layui-form-select">
            <label class="layui-form-label"><i>*</i>角色</label>
            <div class="layui-input-block">
                <select name="userRole" lay-filter="aihao">
                    <option value="0">请选择角色</option>
                    <option value="1" <%if(userRole==1){%>selected<%}%> >图书管理员</option>
                    <option value="2" <%if(userRole==2){%>selected<%}%> >学生</option>
                </select>
            </div>
        </div>

    </div>
</div>